116
Password Protect SQL injection
CGI
2004/09/01
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
2004/11/17
2.1
Corrected the plugin structure and added the accuracy values in 1.1. Improved the pattern matching and introduced the plugin changelog in 2.0. Added additional information in 2.1
tcp
80
open|send GET /adminSection/main.asp HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# ### *Web Site Administration* OR HTTP/#.# ### *The Web Animations Administration Section*
85
This plugin is inspired by the Nessus plugin that is specified in the field source_nessus_id. The target software is written in ASP.
http://www.criolabs.net
Criolabs
http://www.criolabs.net/advisories/passprotect.txt
http://www.webanimations.com.au
Password protect
Other solutions
SQL Injection
The target ftp server seems to be running a version of Password Protect that is vulnerable to a SQL injection. An attacker may gain elevated privileges and completely compromise the target host.
Install the patches for the affected version or upgrade to the latest software version. An Intrusion Prevention System (IPS) may also be able to prevent buffer overflow vulnerabilities as like this one. The ftp server should be deactivated or de-installed if not necessary. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Try to prevent unwanted connection attempts by filtering traffic with firewalling. Alternation of the application banner can confuse an attacker and let him determine the wrong software.
Approx. 1 hour
Yes
http://www.securityfocus.com/bid/11073/exploit/
Yes
Yes
High
6
7
8
7
High
Nessus is able to do the same check based on banner-grabbing too. See the Nessus plugin ID for more details. A proof-of-concept is available on the original advisory and the SecurityFocus.com exploit link.
11073
14587
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://www.securityfocus.com/archive/1/373901